﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TCDC_System.Default" %>
<%@ Register assembly="Ext.Net" namespace="Ext.Net" tagprefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <ext:ResourceManager ID="mainResource" runat="server" CleanResourceUrl="false" />
      <ext:Window ID="LogonWindows" runat="server" Width="350" AutoHeight="true" 
            Title="เข้าสู่ระบบ" Icon="FlagTh" Closable="false" 
            Layout="Form" Draggable="False" LabelSeparator="" BodyBorder="False" 
            Border="False" Footer="True"  Modal="true" Padding="15" LabelWidth="100" >
            <Items>
                <ext:Label ID="lbUser" runat="server" HideLabel="False"></ext:Label>
                <ext:TextField ID="txtUser" runat="server" Text="suchin" AnchorHorizontal="100%" InputType="Text" AllowBlank="false" FieldLabel="ชื่อผู้ใช้ "  BlankText="กรุณาใส่ชื่อผู้ใช้" Icon="User" TabIndex="1" SelectOnFocus="True" />
                <ext:TextField ID="txtPassword" runat="server"  Text="3829" AnchorHorizontal="100%" InputType="Password" AllowBlank="false" FieldLabel="รหัสผ่าน "  BlankText="กรุณาใส่รหัสผ่าน" Icon="Key" TabIndex="2" SelectOnFocus="True" />
                <ext:Label ID="lbPassword" runat="server" Text=""></ext:Label>
            </Items>
            <Buttons>
                <ext:Button ID="btLogin" runat="server" Icon="ComputerStart" Text="เข้าสู่ระบบ" OnDirectClick="btLogin_Click" TabIndex="3"></ext:Button>
                <ext:Button ID="btCancel" runat="server" Icon="ComputerStop" Text="ยกเลิก" OnDirectClick="btCancel_Click" TabIndex="4"></ext:Button>
            </Buttons>
        </ext:Window>
 
    </div>
    </form>
</body>
</html>
